package s;

public class User extends BaseEntity {
    /**
     * 主键 Id
     */
    public int id;
    /**
     * 用户名，用来登录的
     */
    public String username;
    /**
     * 真实姓名
     */
    public String name;
    /**
     * 电话
     */
    public String mobile;
    /**
     * 邮箱
     */
    public String email;

    /**
     * 所属部门id
     *
     */
    public int deptid;

    /**
     * 具有的角色id
     *
     */
    public int roleid;

    /**
     * 状态: 启用|停用
     */
    public boolean enabled = true;

    public User() {
    }
    public User(String username, String name, String mobile, String email, int deptid, int roleid, boolean enabled) {
        this.username = username;
        this.name = name;
        this.mobile = mobile;
        this.email = email;
        this.deptid = deptid;
        this.roleid = roleid;

    }
}
